//
//  AuctionShopModel.h
//  MyNewProject
//
//  Created by 王春辉 on 1/16/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import "WJBaseModel.h"
#import "AuctionSellModel.h"

NS_ASSUME_NONNULL_BEGIN

#pragma mark -- mark 商家数据model
@interface AuctionShopDataModel : NSObject
@property (nonatomic, copy) NSString *describes;
@property (nonatomic, assign) int sell_count;
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *img_bg;
@property (nonatomic, copy) NSString *is_tuijian;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *pass;
@property (nonatomic, copy) NSString *rid;
@property (nonatomic, copy) NSString *sort;
@property (nonatomic, strong) NSArray  <AuctionSellDataModel *>*sell;
@end

#pragma mark -- mark 商家数据
@interface AuctionShopModel : WJBaseModel
@property (nonatomic, strong) NSArray <AuctionShopDataModel *>* data;
@end


NS_ASSUME_NONNULL_END
/*
{
    "status": "ok",
    "data": [
        {
            "id": "2",
            "rid": "99",
            "name": "天猫",
            "describes": "一家专业的商铺",
            "img_bg": "http://apiadmin.yupinyouxuan.com/upload/test/shop_bg.png",
            "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
            "pass": "123456",
            "is_tuijian": "1",
            "sort": "1",
            "sell": [],
            "sell_count": 0
        },
        {
            "id": "3",
            "rid": "0",
            "name": "京东",
            "describes": "一家很大的商铺",
            "img_bg": "http://apiadmin.yupinyouxuan.com/upload/test/shop_bg.png",
            "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
            "pass": "123456",
            "is_tuijian": "0",
            "sort": "999",
            "sell": [
                {
                    "id": "399",
                    "title": "测试商品2",
                    "goods_id": "470",
                    "begin_time": "2020-01-20 10:46:26",
                    "end_time": "2020-01-20 12:46:35",
                    "new_price": "100",
                    "supplier": "豫品",
                    "status": "5"
                }
            ],
            "sell_count": 0
        },
        {
            "id": "4",
            "rid": "0",
            "name": "苏宁",
            "describes": "苏宁专卖",
            "img_bg": "http://apiadmin.yupinyouxuan.com/upload/test/shop_bg.png",
            "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
            "pass": "123456",
            "is_tuijian": "1",
            "sort": "999",
            "sell": [],
            "sell_count": 0
        },
        {
            "id": "1",
            "rid": "94",
            "name": "淘宝",
            "describes": "一家专业的铺位",
            "img_bg": "http://apiadmin.yupinyouxuan.com/upload/test/shop_bg.png",
            "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
            "pass": "123456",
            "is_tuijian": "1",
            "sort": "9991",
            "sell": [
                {
                    "id": "402",
                    "title": "翡翠A货-“福佛”",
                    "goods_id": "397",
                    "begin_time": "2020-01-31 21:01:23",
                    "end_time": "2020-01-31 21:14:27",
                    "new_price": "1000",
                    "supplier": "京东",
                    "status": "4"
                },
                {
                    "id": "397",
                    "title": "翡翠A货-“葫芦”",
                    "goods_id": "397",
                    "begin_time": "2020-01-02 13:47:48",
                    "end_time": "2020-01-04 13:47:51",
                    "new_price": "0",
                    "supplier": "",
                    "status": "5"
                },
                {
                    "id": "396",
                    "title": "翡翠A货-“福瓜”",
                    "goods_id": "396",
                    "begin_time": "2019-12-30 10:46:43",
                    "end_time": "2020-01-02 13:46:45",
                    "new_price": "5000",
                    "supplier": "",
                    "status": "4"
                }
            ],
            "sell_count": 0
        }
    ]
}
*/
